home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / objects / r3cone.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  4.0 KB  |  171 lines

  1.  
  2. // JavaScript wrapper for r3cone.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_CONE_H = 1;
  7. include("real/objects/r3prim.js")
  8. include("oops/r3vector.js")
  9.  
  10.  
  11. var R3CLID_CONE = 173;
  12.  
  13.  
  14.  
  15.  
  16. R3CONEA_Center = 173501;
  17. function SetR3CONEA_Center(value) {
  18.   R3Set(this.r3obj, R3CONEA_Center, value, R3TID_VECTOR, 0); 
  19. }
  20.  
  21. function GetR3CONEA_Center() {
  22.   return R3Get(this.r3obj, R3CONEA_Center, R3TID_VECTOR, 0); 
  23. }
  24.  
  25. R3CONEA_A = 173502;
  26. function SetR3CONEA_A(value) {
  27.   R3Set(this.r3obj, R3CONEA_A, value, R3TID_VECTOR, 0); 
  28. }
  29.  
  30. function GetR3CONEA_A() {
  31.   return R3Get(this.r3obj, R3CONEA_A, R3TID_VECTOR, 0); 
  32. }
  33.  
  34. R3CONEA_B = 173503;
  35. function SetR3CONEA_B(value) {
  36.   R3Set(this.r3obj, R3CONEA_B, value, R3TID_VECTOR, 0); 
  37. }
  38.  
  39. function GetR3CONEA_B() {
  40.   return R3Get(this.r3obj, R3CONEA_B, R3TID_VECTOR, 0); 
  41. }
  42.  
  43. R3CONEA_C = 173504;
  44. function SetR3CONEA_C(value) {
  45.   R3Set(this.r3obj, R3CONEA_C, value, R3TID_VECTOR, 0); 
  46. }
  47.  
  48. function GetR3CONEA_C() {
  49.   return R3Get(this.r3obj, R3CONEA_C, R3TID_VECTOR, 0); 
  50. }
  51.  
  52. R3CONEA_P = 173505;
  53. function SetR3CONEA_P(value) {
  54.   R3Set(this.r3obj, R3CONEA_P, value, R3TID_VECTOR, 0); 
  55. }
  56.  
  57. function GetR3CONEA_P() {
  58.   return R3Get(this.r3obj, R3CONEA_P, R3TID_VECTOR, 0); 
  59. }
  60.  
  61. R3CONEA_N = 173506;
  62. function SetR3CONEA_N(value) {
  63.   R3Set(this.r3obj, R3CONEA_N, value, R3TID_VECTOR, 0); 
  64. }
  65.  
  66. function GetR3CONEA_N() {
  67.   return R3Get(this.r3obj, R3CONEA_N, R3TID_VECTOR, 0); 
  68. }
  69.  
  70. R3CONEA_M = 173507;
  71. function SetR3CONEA_M(value) {
  72.   R3Set(this.r3obj, R3CONEA_M, value, R3TID_VECTOR, 0); 
  73. }
  74.  
  75. function GetR3CONEA_M() {
  76.   return R3Get(this.r3obj, R3CONEA_M, R3TID_VECTOR, 0); 
  77. }
  78.  
  79. R3CONEA_AS = 173508;
  80. function SetR3CONEA_AS(value) {
  81.   R3Set(this.r3obj, R3CONEA_AS, value, R3TID_FLOAT, 0); 
  82. }
  83.  
  84. function GetR3CONEA_AS() {
  85.   return R3Get(this.r3obj, R3CONEA_AS, R3TID_FLOAT, 0); 
  86. }
  87.  
  88. R3CONEA_AE = 173509;
  89. function SetR3CONEA_AE(value) {
  90.   R3Set(this.r3obj, R3CONEA_AE, value, R3TID_FLOAT, 0); 
  91. }
  92.  
  93. function GetR3CONEA_AE() {
  94.   return R3Get(this.r3obj, R3CONEA_AE, R3TID_FLOAT, 0); 
  95. }
  96.  
  97. R3CONEA_AS3D = 173510;
  98. function GetR3CONEA_AS3D() {
  99.   return R3Get(this.r3obj, R3CONEA_AS3D, R3TID_VECTOR, 0); 
  100. }
  101.  
  102. R3CONEA_AE3D = 173511;
  103. function GetR3CONEA_AE3D() {
  104.   return R3Get(this.r3obj, R3CONEA_AE3D, R3TID_VECTOR, 0); 
  105. }
  106.  
  107. R3CONEA_Infinite = 173512;
  108. function SetR3CONEA_Infinite(value) {
  109.   R3Set(this.r3obj, R3CONEA_Infinite, value, R3TID_INTEGER, 0); 
  110. }
  111.  
  112. function GetR3CONEA_Infinite() {
  113.   return R3Get(this.r3obj, R3CONEA_Infinite, R3TID_INTEGER, 0); 
  114. }
  115.  
  116. R3CONEA_Sector = 173513;
  117. function SetR3CONEA_Sector(value) {
  118.   R3Set(this.r3obj, R3CONEA_Sector, value, R3TID_INTEGER, 0); 
  119. }
  120.  
  121. function GetR3CONEA_Sector() {
  122.   return R3Get(this.r3obj, R3CONEA_Sector, R3TID_INTEGER, 0); 
  123. }
  124.  
  125. R3CONEA_Uncovered = 173514;
  126. function SetR3CONEA_Uncovered(value) {
  127.   R3Set(this.r3obj, R3CONEA_Uncovered, value, R3TID_INTEGER, 0); 
  128. }
  129.  
  130. function GetR3CONEA_Uncovered() {
  131.   return R3Get(this.r3obj, R3CONEA_Uncovered, R3TID_INTEGER, 0); 
  132. }
  133.  
  134.  
  135.  
  136. function r3Cone () { 
  137.    this.base = r3God;
  138.    if(arguments.length) {
  139.       this.base(R3CLID_CONE, arguments);
  140.    }
  141.    // Attributes
  142.    this.GetCenter=GetR3CONEA_Center;
  143.    this.SetCenter=SetR3CONEA_Center;
  144.    this.GetA=GetR3CONEA_A;
  145.    this.SetA=SetR3CONEA_A;
  146.    this.GetB=GetR3CONEA_B;
  147.    this.SetB=SetR3CONEA_B;
  148.    this.GetC=GetR3CONEA_C;
  149.    this.SetC=SetR3CONEA_C;
  150.    this.GetP=GetR3CONEA_P;
  151.    this.SetP=SetR3CONEA_P;
  152.    this.GetN=GetR3CONEA_N;
  153.    this.SetN=SetR3CONEA_N;
  154.    this.GetM=GetR3CONEA_M;
  155.    this.SetM=SetR3CONEA_M;
  156.    this.GetAS=GetR3CONEA_AS;
  157.    this.SetAS=SetR3CONEA_AS;
  158.    this.GetAE=GetR3CONEA_AE;
  159.    this.SetAE=SetR3CONEA_AE;
  160.    this.GetAS3D=GetR3CONEA_AS3D;
  161.    this.GetAE3D=GetR3CONEA_AE3D;
  162.    this.GetInfinite=GetR3CONEA_Infinite;
  163.    this.SetInfinite=SetR3CONEA_Infinite;
  164.    this.GetSector=GetR3CONEA_Sector;
  165.    this.SetSector=SetR3CONEA_Sector;
  166.    this.GetUncovered=GetR3CONEA_Uncovered;
  167.    this.SetUncovered=SetR3CONEA_Uncovered;
  168. }
  169.  
  170. r3Cone.prototype=new r3Primitive;
  171. // r3cone.h_H